﻿using Architecture.Domian.Common;
using Architecture.Domian.DTO;
using Architecture.Domian.Entity;
using MediatR;

namespace Architecture.Api.Application.Commands.SourceCommand
{
    public class SourceReadCommand : IRequest<List<GoodsInfo>>
    {
    }

    public class SourceReadPageCommand : IRequest<PageResult<SourceInfoDTO>>
    {
        public long GoodNo { get; set; }
        public string? Batch { get; set; }
        public int Deadline { get; set; }
        public int size { get; set; }
        public int index { get; set; }
    }

    public class SourceReadByIdCommand : IRequest<SourceInfoDTO>
    {
        public int SourceId { get; set; }
    }
}
